home *** CD-ROM | disk | FTP | other *** search
-
- ~4Dgifts/toolbox/src/exampleCode/opengl/colorChooser README
-
- OpenGL Color Chooser Widget - libGLColorChooser.a
-
-
- The OpenGL version of the color chooser widget, contained in
- libGLColorChooser.a, is identical in usage and functionality to the
- IRIS GL version of the color chooser widget found in libSgm. (Refer
- to the man page on SgColorChooser for a description of the color
- chooser widget.) OpenGL applications wanting to use the color
- chooser widget, must link with the libGLColorChooser.a instead of
- libSgm to pick up the OpenGL version of the widget. Applications
- using the OpenGL color chooser must also link with libGL, libGLU,
- and libGLw.
-
- The include files found in the "includes" directory, are duplicates
- of the SgColorChooser widget include files for libSgm (found in
- /usr/include/Sgm), modified for use with OpenGL. Applications
- using the OpenGL version of the SgColorChooser widget MUST use the
- .h files provided in the includes directory, rather than the files
- found in /usr/include/Sgm. For completeness, we have left these
- includes/*.h files in place to keep them with the library, so the
- OpenGL version of this widget is consistent with the GL version
- found in libSgm & /usr/include/Sgm. See the man page on
- SgColorChooser for the appropriate usage of the include files.
-
- The sample program, chooser_sample.c, illustrates the most basic
- use of the OpenGL color chooser widget. To invoke the color
- chooser widget, select "Actions" from the menu bar, then "Color
- Chooser" from the menu.
-
- -- Ann LaGrone, 1994
-
-